<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text">
        </div>
    </div>
    <div class="form-group district">
        <label for="c-district" class="control-label col-xs-12 col-sm-2">请选择地址:</label>
        <div class="col-xs-12 col-xs-2 hide">
            <select name="row[province_id]" data-rule="required" data-id="27833" class="form-control province">
                <option value="0" selected="selected">请选择省</option>
            </select>
        </div>
        <div class="col-xs-12 col-xs-2 hide">
            <select name="row[city_id]" data-rule="required" data-id="28141" class="form-control city">
                <option value="0">请选择市</option>
            </select>
        </div>
        <span style="line-height: 31px;float: left;margin-left: 15px;">广东省深圳市</span>
        <div class="col-xs-12 col-xs-2">
            <select name="row[area_id]" data-rule="required" data-id="0" class="form-control district">
                <option value="0">请选择区</option>
            </select>
        </div>
    </div>
    {include file="common/map" latValue="" lngValue="" addressValue="" address_div="hide" latlng_div=""}

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Weigh')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-weigh" data-rule="required" class="form-control" name="row[weigh]" type="number" value="100">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
